package cn.java63.computer;
//机箱
public class Chassis {
    private String dianyuan;
    private Board board;

    public void setDianyuan(String dianyuan) {
        this.dianyuan = dianyuan;
    }

    public void setBoard(Board board) {
        this.board = board;
    }

    public String get(){
        return "电源"+dianyuan+",主板"+board.get();
    }
}
